From: Joseph Marrero Corchado Date: Mon, 29 Jun 2026 19:16:31 +0000 (-0400) Subject: tests: Run clang-format on test-validate-utf8.c X-Git-Tag: archive/raspbian/2026.2-1+rpi1^2~9^2^2~1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ed87f1cbd28fe07853ab097aa4c38f605e28531c;p=ostree.git tests: Run clang-format on test-validate-utf8.c The file introduced in commit ac10a27d was not run through clang-format before merging. Reformat the invalid_333 char array initializer to comply with the project's .clang-format rules. Fixes the clang-format-check CI job failure. --- diff --git a/tests/test-validate-utf8.c b/tests/test-validate-utf8.c index dc561a28..4aa07cfc 100644 --- a/tests/test-validate-utf8.c +++ b/tests/test-validate-utf8.c @@ -82,11 +82,10 @@ test_invalid_utf8_refs (void) g_clear_error (&error); /* Invalid UTF-8: 0x333 as mentioned in issue #2959 */ - const char invalid_333[] = { 's', 'o', 'm', 'e', '-', 'b', 'r', 'a', 'n', 'c', - 'h', '-', 'n', 'a', 'm', 'e', '-', 'w', 'i', 't', - 'h', '-', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '-', - 'u', 't', 'f', '-', 's', 'y', 'm', 'b', 'o', 'l', - '-', '\xdb', '\0' }; + const char invalid_333[] + = { 's', 'o', 'm', 'e', '-', 'b', 'r', 'a', 'n', 'c', 'h', '-', 'n', 'a', 'm', + 'e', '-', 'w', 'i', 't', 'h', '-', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '-', + 'u', 't', 'f', '-', 's', 'y', 'm', 'b', 'o', 'l', '-', '\xdb', '\0' }; g_assert_false (ostree_validate_rev (invalid_333, &error)); g_assert_nonnull (error); g_clear_error (&error);